package com.hm.day45e.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.mybatis.spring.annotation.MapperScan;

import com.hm.day45e.model.Products;
@MapperScan
public interface ProductsMapper {
	long findCount();
	
	List<Products> findAll(@Param("firstResult") int firstResult, @Param("maxResults") int maxResults);
    int deleteByPrimaryKey(Integer proId);

    int insert(Products record);

    int insertSelective(Products record);

    Products selectByPrimaryKey(Integer proId);

    int updateByPrimaryKeySelective(Products record);

    int updateByPrimaryKey(Products record);
}